/**
 * 
 */
package es.cloudcast.server.persistence.jdo.action;

import es.cloudcast.server.persistence.PersistenceException;
import es.cloudcast.server.persistence.dao.jdo.PersistenceManagerFactory;

/**
 * Simple action processor for Command Pattern.
 * 
 * @author Samuel García Martínez <in0de>
 *
 */
public class ActionProcessor {

	public static Object process(Action<?> action, PersistenceManagerFactory PMF) throws PersistenceException {
		return action.process(PMF);
	}
	
}
